#include<QPixmap>
#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include"tui.h"
#include"jiemian.h"

#include<QMessageBox>
#include<QString>
#include<QImage>
#include<QPainter>
#include<QKeyEvent>
#include<QEvent>
#include<QRect>
#include<QPushButton>
#include"jian.h"
namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();
void paintEvent(QPaintEvent * event);
 void change1();
 void change2();
private:
    Ui::Widget *ui;
    QPushButton b1;
   QPushButton b2;
    QPushButton b3;

    jiemian w;
     jian v;
};

#endif // WIDGET_H
